[IA64] Clear pending event when vcpu boots
authorAlex Williamson <alex.williamson@hp.com>
Mon, 7 May 2007 19:14:27 +0000 (13:14 -0600)
committerAlex Williamson <alex.williamson@hp.com>
Mon, 7 May 2007 19:14:27 +0000 (13:14 -0600)
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
xen/arch/ia64/xen/vcpu.c

index 95ef7a461cd093268c78c02d5ff45cfe0782e655..43599f63543927e9560b7eee087d32cf5d22873e 100644 (file)
@@ -176,6 +176,7 @@ void vcpu_init_regs(struct vcpu *v)
 
                /* SAL specification 3.2.4 */
                VCPU(v, vpsr) = IA64_PSR_AC | IA64_PSR_IC | IA64_PSR_BN;
+               v->vcpu_info->evtchn_upcall_pending = 0;
                v->vcpu_info->evtchn_upcall_mask = -1;
        }